import { Select } from 'antd';
import dayjs from 'dayjs';
import { useEffect, useState } from 'react';
import styles from './Select.less';
import lodash from 'lodash';

export default (props: any) => {
  const { id, onChange, disabled, value } = props;

  const options = [
    {
      value: 'jack',
      label: 'Jack',
    },
    {
      value: 'lucy',
      label: 'Lucy',
    },
    {
      value: 'tom',
      label: 'Tom',
    },
  ];

  return (
    <Select
      value={value}
      className={styles.datePick}
      id={id}
      onChange={onChange}
      disabled={disabled}
      options={options}
    />
  );
};
